<h1><?php echo Lang::t('message.detail.page.title'); ?> #<?php echo $data->id; ?></h1>

<?php
$this->widget('ext.extended.DetailView', array(
    'data' => $data,
    'attributes' => array(
        array(
            'name' => Lang::t('message.lbl.profile.id'),
            'value' => $data->profileId,
        ),
        array(
            'name' => 'status_',
            'value' => $data->status,
        ),
        array(
            'name' => 'name_',
            'value' => $data->senderName,
        ),
        array(
            'name' => 'email_',
            'type' => 'email',
            'value' => $data->senderEmail,
        ),
        array(
            'name' => 'contactNumber_',
            'value' => $data->senderContactNumber,
        ),
        array(
            'name' => 'subject_',
            'value' => $data->subject,
        ),
        array(
            'name' => 'message_',
            'value' => $data->message,
        ),
        array(
            'name' => 'Created Date',
            'value' => date('d-M-Y H:i:s', $data->createdTime),
        ),
        array(
            'name' => 'Modified Date',
            'value' => date('d-M-Y H:i:s', $data->updatedTime),
        ),
    ),
));
?>